package com.vcredit.creditcat.manager.income;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;

import com.alibaba.dubbo.config.annotation.Service;
import com.vcredit.creditcat.api.pc.IIncomeForPcManager;
import com.vcredit.creditcat.dto.BUIGridResultDto;
import com.vcredit.creditcat.dto.income.IncomeForPcDto;
import com.vcredit.creditcat.dto.income.IncomeSearchParamDto;
import com.vcredit.creditcat.service.income.IncomeForPcService;

@Service(protocol = { "protocol1" }, version = "1.0")
public class IncomeForPcManager implements IIncomeForPcManager{

	@Autowired
	private IncomeForPcService incomeForPcService;
	
	@Override
	public Boolean add(IncomeForPcDto param) {
		return incomeForPcService.add(param);
	}

	@Override
	public List<IncomeForPcDto> incomeTypeList() {
		return incomeForPcService.incomeTypeList();
	}

	@Override
	public BUIGridResultDto<IncomeForPcDto> pageQuery(IncomeSearchParamDto param) {
		return incomeForPcService.pageQuery(param);
	}

}
